]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: changed default icon for contacts without an avatar
authorHellyna Ng <hellyna@hellyna.com>
Thu, 17 Feb 2011 00:51:49 +0000 (08:51 +0800)
committerDan Winship <danw@gnome.org>
Thu, 17 Feb 2011 13:08:53 +0000 (08:08 -0500)
The original icon doesn't exist, which results in empathy summary
items in the tray showing no icons (invisible) at all. With this fix
users can now at least see where the icons are (they are no longer
invisible).

https://bugzilla.gnome.org/show_bug.cgi?id=639468

js/ui/telepathyClient.js

index f9d61fdcfc356086622b9e67208cf1b938e14ae9..feda9c020b6848ce94886d58e1f3fb19938de710 100644 (file)
@@ -168,7 +168,7 @@ Source.prototype = {
             let uri = file.get_uri();
             this._iconBox.child = textureCache.load_uri_async(uri, this._iconBox._size, this._iconBox._size);
         } else {
-            this._iconBox.child = new St.Icon({ icon_name: 'stock_person',
+            this._iconBox.child = new St.Icon({ icon_name: 'avatar-default',
                                                 icon_type: St.IconType.FULLCOLOR,
                                                 icon_size: this._iconBox._size });
         }